package com.aprilTomCat.conf;



/**
 * @author April
 * 保存获取到得类信息
 */
public class ServletConfig {
    //url
    private String urlMapping;
    //类得全路径名
    private String classPath;

    public ServletConfig(String urlMapping,String classPath){
        this.urlMapping=urlMapping;
        this.classPath=classPath;
    }
    @Override
    public String toString() {
        return "ServletConfig{" +
                "urlMapping='" + urlMapping + '\'' +
                ", classPath='" + classPath + '\'' +
                '}';
    }

    public String getUrlMapping() {
        return urlMapping;
    }

    public void setUrlMapping(String urlMapping) {
        this.urlMapping = urlMapping;
    }

    public String getClassPath() {
        return classPath;
    }

    public void setClassPath(String classPath) {
        this.classPath = classPath;
    }
}
